STEP 2: In the code editor you should see functions that have been automatically provided. Please be careful not to edit these or you may get errors! Let's create a main() function and add our first function call.

  • Click on LOGIC. Go to and drag in Main Function to the bottom of the code editor.
  • Drag Function Call into the main() function.
  • Change my_function() to create_scene(). Press Run to see sprites on the stage!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)